package tcc_scheduler;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;

public class Scheduler {
		
	Queue<Task> tasks = new LinkedList<Task>();
	List<ProcessingUnit> processingUnits = new ArrayList<ProcessingUnit>();
	
	public void addTask(Task task)
	{
		this.tasks.add(task);
	}
	
	public void processGetLB()
	{
		while(true)
		{
			// Get the processing Unit (since they're not ordered yet)
			ProcessingUnit pu = processingUnits.get(0);
			for (int i = 1; i < processingUnits.size(); i++) {
			
			}
			
			
		}
	}	
	
	public void processRoudRobin()
	{
		
	}
}
